package com.auto.autoapp.model

import com.auto.autoapp.util.SpUtil

/**
 * 账号提升设置对象
 * 与设置页四项一一对应，并提供与 SpUtil 的互转
 */
data class AccountRaiseSetting(
    var keyword: String = "",
    var browseDurationSeconds: Int = 10,
    var likeProbability: Int = 60,
    var commentProbability: Int = 55,
    var collectCount: Int = 10,
    var commentContentList: List<String> = emptyList()
)

/**
 * 评论私信设置对象（CommentPrivateMessageActivity）
 * 聚合保存为 JSON，同时兼容历史独立键
 */
data class CommentPrivateMessageSetting(
    var searchKeywords: String = "",
    var videoSeconds: Int = 5,
    var likeProbability: Int = 80,
    var commentIncludeKeywords: String = "",
    var commentExcludeKeywords: String = "",
    var followProbability: Int = 50,
    var dmProbability: Int = 50,
    var maxCommentCount: Int = 10,
    var dmMessages: List<String> = emptyList()
)

/**
 * 视频评论监听设置对象（VideoCommentListenActivity）
 * 聚合保存为 JSON，同时兼容历史独立键
 */
data class WatchVideoCommentSetting(
    var videoList: List<String> = emptyList(),
    var includeKeywords: String = "",
    var excludeKeywords: String = "",
    var intervalDays: Int = 10,
    var maxCommentCount: Int = 10,
    var replyList: List<String> = emptyList()
)

/**
 * 直播成员私信设置对象（LiveMemberPrivateMsgActivity）
 * 聚合保存为 JSON，同时兼容历史独立键
 */
data class LiveMemberPrivateMsgSetting(
    var waitSeconds: Int = 10,
    var speakKeywords: String = "",
    var collectCount: Int = 10,
    var liveList: List<String> = emptyList<String>(),
    var replyList: List<String> = emptyList<String>(),
)

/**
 * 上传视频监听设置对象（UpVideoListenActivity）
 * 聚合保存为 JSON，同时兼容历史独立键
 */
data class UpVideoListenSetting(
    var anchorList: List<String> = emptyList(),
    var intervalDays: Int = 10,
    var retryCount: Int = 10,
)


data class CommonSetting(
    var browseDuration: Int? = 20,
    var operationInterval: Int? = 5,
    var likeProp: Int? = 50,
    var commentProp: Int? = 50,
    var followProp: Int? = 50
)